#ifndef __PUBLIC__CONFIG_H__
#define __PUBLIC__CONFIG_H__

#define CONFIG_OSAPI_POSIX
#define CONFIG_OS_ERCOS
#define CONFIG_ARCH_SPARC
#define CONFIG_MP_LEON3
#define CONFIG_BOARD_SRG_A3P

//#define CONFIG_INTA_RTU
#define SIZE_OF_POOLS 2

#undef CONFIG_PLATFORM_IS_LITTLE_ENDIAN
#undef CONFIG_PLATFORM_ROMKERNEL
#define CONFIG_PLATFORM_ROM_INITIAL_ADDR 0x00000000
#define CONFIG_PLATFORM_ROM_SIZE_2MB
#define CONFIG_PLATFORM_RAM_INITIAL_ADDR 0x40000000
#define CONFIG_PLATFORM_STACK_BEGIN_ADDRESS 0x401dfff0
//#define CONFIG_PLATFORM_STACK_BEGIN_ADDRESS 0x43000000
#define CONFIG_PLATFORM_RAM_SIZE_64MB
#define CONFIG_PLATFORM_CLK_SPEED_MHZ 40
#undef CONFIG_PLATFORM_HAS_FPU
#define CONFIG_PLATFORM_FAST_MODE
#define CONFIG_PLATFORM_GRMON_USED
#undef CONFIG_PLATFORM_TRACER
#define CONFIG_PLATFORM_TRACER_BUFF_SIZE 1024
#define CONFIG_PLATFORM_TRACER_NLEVELS 5
#undef CONFIG_PLATFORM_ENABLE_KERNEL_TRACE
#undef CONFIG_PLATFORM_RETRIEVE_TRACE
#undef CONFIG_PLATFORM_ENABLE_APP_TRACE
#define CONFIG_PLATFORM_KERNEL_STACK_SIZE 102400
#define CONFIG_PLATFORM_MAIN_STACK_SIZE 102400
#define CONFIG_PLATFORM_MIN_STACK_SIZE 102400
#define CONFIG_PLATFORM_IRQ_STACK_SIZE 102400
#define CONFIG_PLATFORM_NUM_IRQ_USED 5
#define CONFIG_CDFRAME_SWR_DEBUG
#define CONFIG_CDFRAME_SWR_LOG

#define CONFIG_CDSIGNAL_SWR_DEBUG
#define CONFIG_CDSIGNAL_SWR_LOG

#define CONFIG_CDBURST_SWR_DEBUG
#define CONFIG_CDBURST_SWR_LOG

#define CONFIG_CDDATABURST_SWR_DEBUG
#define CONFIG_CDDATABURST_SWR_LOG

#define CONFIG_CDTMTCCOMMSERVER_SWR_DEBUG
#define CONFIG_CDTMTCCOMMSERVER_SWR_LOG

#define CONFIG_CDCOMMCONFIG_SWR_DEBUG
#define CONFIG_CDCOMMCONFIG_SWR_LOG

#define CONFIG_CASSI_SWR_DEBUG
#define CONFIG_CASSI_SWR_LOG

#define CONFIG_CAEMUBOARDTMTCSERVER_SWR_DEBUG
#define CONFIG_CAEMUBOARDTMTCSERVER_SWR_LOG

#define CONFIG_CASGI_SWR_DEBUG
#define CONFIG_CASGI_SWR_LOG



#define CONFIG_CAEMUBOARDPLANNER_SWR_DEBUG
#define CONFIG_CAEMUBOARDPLANNER_SWR_LOG

#undef CONFIG_EDROOM_GLUE_SWR_TMTC_DELIVERY_SERVICE
#undef CONFIG_EDROOM_GLUE_SWR_SAT_CONTROL

#define CONFIG_EDROOMSL_SWR_DEBUG
#define CONFIG_EDROOMSL_SWR_LOG

#define CONFIG_EDROOMBP_SWR_EDROOMBP
#undef CONFIG_EDROOMBP_SWR_TESTS
#define CONFIG_EDROOMBP_SWR_TRACE_METHODS




#define CONFIG_PACKMEMMANAGER_SWR_RAM_PACKS_SEGMENT_SIZE_IN_KB 124









#undef CONFIG_DEBUG_PRIMITIVES_SWR_NDEBUG

#define CONFIG_BASIC_TYPES_SWR_BASIC_TYPES



#define CONFIG_UART_DEV_PUTCHAR_SWR_UART_BASE_ADDR_A 0x80000100
#define CONFIG_UART_DEV_PUTCHAR_SWR_UART_BASE_ADDR_B 0x80000400

#define CONFIG_UART_DEV_GETCHAR_SWR_UART_BASE_ADDR_A 0x80000100
#define CONFIG_UART_DEV_GETCHAR_SWR_UART_BASE_ADDR_B 0x80000400

#define CONFIG_ERCOS_OSSWR_DEMANDED_SEM \
CONFIG_EDROOMBP_SWR_DEMANDED_PR_BINSEM + CONFIG_EDROOMBP_SWR_DEMANDED_PR_IRQEVENT + CONFIG_EDROOMBP_SWR_DEMANDED_PR_KERNEL + CONFIG_EDROOMBP_SWR_DEMANDED_PR_SEMREC
#define CONFIG_ERCOS_OSSWR_DEMANDED_MUTEX \
CONFIG_EDROOMBP_SWR_DEMANDED_PR_SEMREC
#define CONFIG_ERCOS_OSSWR_DEMANDED_TASKS \
1 + \
CONFIG_EDROOMBP_SWR_DEMANDED_PR_TASK + CONFIG_EDROOMBP_SWR_DEMANDED_PR_KERNEL
#define CONFIG_ERCOS_OSSWR_DEMANDED_PRIO \
CONFIG_EDROOMBP_SWR_DEMANDED_NUM_PRIO
#define CONFIG_EDROOMSL_SWR_DEMANDED_CEDROOMCOMPONENT \
7
#define CONFIG_EDROOMBP_SWR_DEMANDED_PR_KERNEL \
1
#define CONFIG_EDROOMBP_SWR_DEMANDED_PR_BINSEM \
CONFIG_EDROOMSL_SWR_DEMANDED_CEDROOMCOMPONENT * 5
#define CONFIG_EDROOMBP_SWR_DEMANDED_PR_SEMREC \
CONFIG_EDROOMSL_SWR_DEMANDED_CEDROOMCOMPONENT * 5
#define CONFIG_EDROOMBP_SWR_DEMANDED_PR_TASK \
CONFIG_EDROOMSL_SWR_DEMANDED_CEDROOMCOMPONENT * 2
#define CONFIG_EDROOMBP_SWR_DEMANDED_PR_IRQEVENT \
5
#define CONFIG_EDROOMBP_SWR_DEMANDED_NUM_PRIO \
8
#endif // __PUBLIC__CONFIG_H__
